package com.py.credit.dao;

import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 查询接口dao
 */
public interface SubjectCenterDao {


    List<Map<String, Object>> selectGzDetail(@Param(value = "gzNameList") List<String> gzNameList);


    List<Map<String, Object>> selectCsDetail(@Param(value = "deptId") long deptId,
                                             @Param(value = "gzNameList") List<String> gzNameList);

    String selectAjbhByCsIdAndQymc(@Param(value = "csId") String csId,
                                   @Param(value = "qymc") String qymc);

    Map<String, String> selectFrInfo(@Param(value = "qymc") String qymc);

    void insertFrInfo(@Param(value = "tybm") String tybm,
                      @Param(value = "qymc") String qymc,
                      @Param(value = "tyshxydm") String tyshxydm,
                      @Param(value = "zjgdm") String zjgdm,
                      @Param(value = "gsdjm") String gsdjm,
                      @Param(value = "swdjh") String swdjh,
                      @Param(value = "hongmdsl") int hongmdsl,
                      @Param(value = "heimdsl") int heimdsl);

    long selectCfbmByAjbh(@Param(value = "ajbh") String ajbh);

    void insertHeimd(@Param(value = "tybm") String tybm,
                     @Param(value = "areaname") String areaname,
                     @Param(value = "item") String item,
                     @Param(value = "lxqk") String lxqk,
                     @Param(value = "ah") String ah,
                     @Param(value = "yw") String yw,
                     @Param(value = "djsj") String djsj,
                     @Param(value = "zxwh") String zxwh,
                     @Param(value = "bzxmc") String bzxmc,
                     @Param(value = "fbsj") String fbsj,
                     @Param(value = "zxdw") String zxdw,
                     @Param(value = "jtqx") String jtqx,
                     @Param(value = "zxfy") String zxfy,
                     @Param(value = "zjh") String zjh);

    void insertHongmd(@Param(value = "tybm") String tybm,
                      @Param(value = "creditcode") String creditcode,
                      @Param(value = "item") String item,
                      @Param(value = "pjnd") String pjnd,
                      @Param(value = "nsrsbh") String nsrsbh,
                      @Param(value = "nsrmc") String nsrmc,
                      @Param(value = "fbsj") String fbsj,
                      @Param(value = "zgswjg") String zgswjg);
}
